[INFO] cloning repository https://github.com/sasakissa/hecto
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sasakissa/hecto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3a3158ad81000e724d9f844ff52aeb5338451844
[INFO] checking sasakissa/hecto against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsasakissa%2Fhecto" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sasakissa/hecto on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sasakissa/hecto
[INFO] finished tweaking git repo https://github.com/sasakissa/hecto
[INFO] tweaked toml for git repo https://github.com/sasakissa/hecto written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/sasakissa/hecto already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 202213f774e7a8b19673119811449cd5ca6e37c7162bf7a25e6bc2a8facebd47
[INFO] running `Command { std: "docker" "start" "-a" "202213f774e7a8b19673119811449cd5ca6e37c7162bf7a25e6bc2a8facebd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "202213f774e7a8b19673119811449cd5ca6e37c7162bf7a25e6bc2a8facebd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "202213f774e7a8b19673119811449cd5ca6e37c7162bf7a25e6bc2a8facebd47", kill_on_drop: false }`
[INFO] [stdout] 202213f774e7a8b19673119811449cd5ca6e37c7162bf7a25e6bc2a8facebd47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e468d1560c84c44956f6cc41b226fba8762a7c503d9066c960975780efc9c009
[INFO] running `Command { std: "docker" "start" "-a" "e468d1560c84c44956f6cc41b226fba8762a7c503d9066c960975780efc9c009", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.85
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking termion v1.5.6
[INFO] [stderr]     Checking hecto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `filetype`
[INFO] [stdout]  --> src/document.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{filetype, FileType, Position, Row, SearchDirection};
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `filetype`
[INFO] [stdout]  --> src/document.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{filetype, FileType, Position, Row, SearchDirection};
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unhighlight_row` found for mutable reference `&mut Document` in the current scope
[INFO] [stdout]   --> src/document.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |         self.unhighlight_row(at.y);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ help: there is a method with a similar name: `highlight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unhighlight_row` found for mutable reference `&mut Document` in the current scope
[INFO] [stdout]   --> src/document.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |         self.unhighlight_row(at.y);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ help: there is a method with a similar name: `highlight`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[Row]` cannot be indexed by `RangeTo<Option<usize>>`
[INFO] [stdout]    --> src/document.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 |         for row in &mut self.rows[..until] {
[INFO] [stdout]     |                                   ^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[Row]>` is not implemented for `RangeTo<Option<usize>>`
[INFO] [stdout]     = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]               <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]               <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]     = note: required for `Vec<Row>` to implement `Index<RangeTo<Option<usize>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[Row]` cannot be indexed by `RangeTo<Option<usize>>`
[INFO] [stdout]    --> src/document.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 |         for row in &mut self.rows[..until] {
[INFO] [stdout]     |                                   ^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[Row]>` is not implemented for `RangeTo<Option<usize>>`
[INFO] [stdout]     = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]               <RangeTo<usize> as SliceIndex<[T]>>
[INFO] [stdout]               <RangeTo<usize> as SliceIndex<str>>
[INFO] [stdout]     = note: required for `Vec<Row>` to implement `Index<RangeTo<Option<usize>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/editor.rs:97:17
[INFO] [stdout]     |
[INFO] [stdout] 96  |             self.document.highlight(
[INFO] [stdout]     |                           --------- arguments to this function are incorrect
[INFO] [stdout] 97  |                 &self.highlighted_word,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `&Option<String>`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Option<&str>`
[INFO] [stdout]             found reference `&Option<String>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/document.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn highlight(&mut self, word: Option<&str>, until: Option<usize>) {
[INFO] [stdout]     |            ^^^^^^^^^            ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/editor.rs:97:17
[INFO] [stdout]     |
[INFO] [stdout] 96  |             self.document.highlight(
[INFO] [stdout]     |                           --------- arguments to this function are incorrect
[INFO] [stdout] 97  |                 &self.highlighted_word,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `&Option<String>`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Option<&str>`
[INFO] [stdout]             found reference `&Option<String>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/document.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn highlight(&mut self, word: Option<&str>, until: Option<usize>) {
[INFO] [stdout]     |            ^^^^^^^^^            ------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hecto` due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hecto` due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e468d1560c84c44956f6cc41b226fba8762a7c503d9066c960975780efc9c009", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e468d1560c84c44956f6cc41b226fba8762a7c503d9066c960975780efc9c009", kill_on_drop: false }`
[INFO] [stdout] e468d1560c84c44956f6cc41b226fba8762a7c503d9066c960975780efc9c009
